import { Environment } from '@abp/ng.core';

const baseUrl = 'http://localhost:4200';

export const environment = {
  production: false,
  application: {
    baseUrl,
    name: 'WMS',
    logoUrl: '',
  },
  oAuthConfig: {
    issuer: 'https://localhost:44359/',
    redirectUri: baseUrl,
    clientId: 'BookStore_App',
    responseType: 'code',
    scope: 'offline_access BookStore',
    requireHttps: true,
  },
  apis: {
    default: {
      url: 'https://localhost:44359',
      rootNamespace: 'WmsIndus'
    },
    AbpAccountPublic: {
      url: 'https://localhost:44359',
      rootNamespace: 'AbpAccountPublic',
    },
  },
  localization: {
    defaultResourceName: 'BookStore',
    languages: [
      {
        cultureName: 'zh-Hans',
        uiCultureName: 'zh-Hans',
        displayName: '简体中文',
        flagIcon: 'famfamfam-flags cn'
      },
      {
        cultureName: 'en',
        uiCultureName: 'en',
        displayName: 'English',
        flagIcon: 'famfamfam-flags us'
      }
    ]
  }
} as Environment;
